Elements and Performance Criteria
- Create Java source file
- Create a file with a text editor
- Create a sub-class of the class java.applet.Applet
- Ensure that applet sub-class implements at least one of the following methods: init and paint
- Define classes that contain instance variables, methods and local variables
- Ensure that the init method initialises instance variables and constructs any graphical interface used in the applet sub-class
- Implement the paint and update methods to manage output that is drawn in the applet window
- Incorporate event handling methods
- Implement code that allows a user to enter values and assigns these values to variables
- Use available graphical user interface (GUI) components to allow user interaction with the applet
- Specify and load images and sounds
- Include comments to describe the behaviour of the applet
- Compile source file
- Run applet
- Create and name a hypertext markup language (HTML) file and add APPLET tag
- Write the applet class file to match the HTML document that contains APPLET tag
- Confirm that the applet loads and executes correctly
- Identify and correct run-time errors
- Identify and correct logic errors
- Ensure that the appearance of the applet window renders it accessible and intuitive for the user, and that its design complies with organisational standards
- Ensure that user interaction is implemented efficiently and effectively